#ifndef COMMAND_H
#define COMMAND_H
namespace protocal{
enum SRVCOMMAND{
    SRV_LOGINANS,
    SRV_BROADCAST,
    SRV_DRIVER_ANS,
    SRV_ORDER_SUCCESS,
    SRV_CARPOS,
    SRV_CLIENTPOS};

enum CLICOMMAND{
    CLI_LOGIN,
    CLI_BOOK,
    CLI_CHOOSE_CAR,
    CLI_DISCARD_ORDER,
    CLI_CLIENTPOS,
    CLI_GET_ON_CAR,
    CLI_GET_OFF_CAR};

enum CARCOMMAND{
    CAR_LOGIN,
    CAR_READY,
    CAR_CHOOSE_CLIENT,
    CAR_CARPOS,
    CAR_DISCARD_ORDER,
    CAR_GET_ON_CAR,
    CAR_SEMI_READY,
    CAR_GET_OFF_CAR};

}


#endif // COMMAND_H
